Adwaita: avoid border clash on transitioning adiacent flat buttons
authorLapo Calamandrei <calamandrei@gmail.com>
Thu, 16 Oct 2014 10:46:58 +0000 (12:46 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Thu, 16 Oct 2014 10:46:58 +0000 (12:46 +0200)
commit1e961001afbf0dd46b10d85f74736c8b7e5ae9a3
tree6d4fabc55156cba5ca26fb5036379a0fc8fdbfe5
parentf3f0fc6bb2790247ff066d4b3cee822d4774a27f
Adwaita: avoid border clash on transitioning adiacent flat buttons

Flat buttons gets the button decoration on hover, while transitioning
the decorations of adiacent flat buttons are both shown (one fading in
and the other fading out) so the borders clashes, since normally there's
no spacing between them, to avoid it the transition on the normal state
is set to none and added back to the hover state, so the decoration
won't fade out. To make the transition more evident the duration is
increased.
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css